package indi.caibo.service_edu.service;

import indi.caibo.service_edu.entity.EduCourseLearn;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 课程收藏 服务类
 * </p>
 *
 * @author Bo Cai
 * @since 2021-12-25
 */
public interface EduCourseLearnService extends IService<EduCourseLearn> {

    void learn(String memberId, String courseId, String chapterId, String videoId);

    List<Map<String, Object>> totalLearnProgress(String memberId);
}
